package com.jcsz.gulimall.product.feign;

import com.jcsz.common.to.SkuHasStockVo;
import com.jcsz.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @className: WareSkuService
 * @author: 一把Po吉他
 * @date: 2022/10/30 15:52
 * @version: 1.0
 **/
@FeignClient(value = "gulimall-ware")
public interface WareSkuService {

    @RequestMapping("/ware/waresku/hasstock")
    R getSkuHasStocks(@RequestBody List<Long> spuIds);
}
